package com.leaf.u_spring.chapter03;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Profile;
import org.springframework.test.context.ContextConfiguration;

@ContextConfiguration
public class PersistenceConfig {

	@Bean
	@Profile("dev")
	public void p1(){
		
	}
	
	@Bean
	@Profile("prod")
	public void p2(){
		
	}
}
